mac80211: fix unaligned.h header location for 6.12 kernel
authorShiji Yang <[email protected]>
Mon, 28 Apr 2025 14:15:51 +0000 (22:15 +0800)
committerHauke Mehrtens <[email protected]>
Sat, 3 May 2025 18:16:25 +0000 (20:16 +0200)
commit9aea4c9280931d03464b7543cae8d727f4b1e037
treef3c9307de9ab6ce82dda78384d0b4ca4d256a5a6
parentbad441ae4e60b9203eb4f6370026cc52e9b29384
mac80211: fix unaligned.h header location for 6.12 kernel

Fix mt76 build error on 6.12 kernel:

In file included from /workspaces/openwrt/build_dir/target-x86_64_musl/linux-x86_64/mt76-2025.04.11~be28ef77/mt76x0/eeprom.c:13:
/workspaces/openwrt/staging_dir/target-x86_64_musl/usr/include/mac80211-backport/asm/unaligned.h:3:15: fatal error: asm/unaligned.h: No such file or directory
    3 | #include_next <asm/unaligned.h>
      |               ^~~~~~~~~~~~~~~~~

Signed-off-by: Shiji Yang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18637
Signed-off-by: Hauke Mehrtens <[email protected]>
package/kernel/mac80211/patches/build/120-backport-fix-unaligned.h-header-location.patch [new file with mode: 0644]